<template>
  <div class="box">
    <ul class="relativeRec">
      <li>
        <p>相关推荐</p>
      </li>
    </ul>
    <div class="relativeGood">
      <div class="goodsBox">
        <div class="top">
          <p>￥469</p>
          <p>1人购买</p>
        </div>
        <div class="center">
          <img src="../../assets/img/labi.jpg" alt />
        </div>
        <div class="bottom">
          <p>adidas 8K 运动跑鞋 女款</p>
        </div>
      </div>
      <div class="goodsBox">
        <div class="top">
          <p>￥469</p>
          <p>1人购买</p>
        </div>
        <div class="center">
          <img src="../../assets/img/labi.jpg" alt />
        </div>
        <div class="bottom">
          <p>adidas 8K 运动跑鞋 女款</p>
        </div>
      </div>
      <div class="goodsBox">
        <div class="top">
          <p>￥469</p>
          <p>1人购买</p>
        </div>
        <div class="center">
          <img src="../../assets/img/labi.jpg" alt />
        </div>
        <div class="bottom">
          <p>adidas 8K 运动跑鞋 女款</p>
        </div>
      </div>
      <div class="goodsBox">
        <div class="top">
          <p>￥469</p>
          <p>1人购买</p>
        </div>
        <div class="center">
          <img src="../../assets/img/labi.jpg" alt />
        </div>
        <div class="bottom">
          <p>adidas 8K 运动跑鞋 女款</p>
        </div>
      </div>
      <div class="goodsBox">
        <div class="top">
          <p>￥469</p>
          <p>1人购买</p>
        </div>
        <div class="center">
          <img src="../../assets/img/labi.jpg" alt />
        </div>
        <div class="bottom">
          <p>adidas 8K 运动跑鞋 女款</p>
        </div>
      </div>
      <div class="goodsBox">
        <div class="top">
          <p>￥469</p>
          <p>1人购买</p>
        </div>
        <div class="center">
          <img src="../../assets/img/labi.jpg" alt />
        </div>
        <div class="bottom">
          <p>adidas 8K 运动跑鞋 女款</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  }
};
</script>
<style scoped>
.box .relativeRec {
  /* border: 1px solid #cccccc; */
  margin-bottom: 20px;
}

.box p {
  text-align: center;
  font-weight: bolder;
  font-size: 14px;
}
.relativeGood {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  overflow: hidden;
}
.goodsBox {
  width: 49.47%;
  border-top: 1px solid gray;
  /* border-bottom: 1px solid gray; */
  border-left: 1px solid gray;
  border-right: 1px solid gray;
}
.top p:nth-child(2) {
  transform: scale(0.8);
  color: gray;
  font-weight: 100;
}

.top {
  display: flex;
  margin-top: 10px;
  font-size: 12px;
  padding: 0 15px;
  justify-content: space-between;
}
.center {
  width: 140px;
  height: 140px;
  margin: 20px auto;
}
.center img {
  width: 100%;
  height: 100%;
}
.bottom {
  margin-bottom: 30px;
}
</style>